
#ifndef _APP_CONTROL_H
#define _APP_CONTROL_H

#ifdef __cplusplus
extern "C" {
#endif
typedef enum _beepstatus
{
   BEEPSTATUS_OPEN,
   BEEPSTATUS_CLOSE 
} beepstatus_t;

typedef struct _beep_t
{
	uint8_t enalbe;
	uint8_t state;
	uint16_t beeptime;
	uint16_t stoptime;
	uint16_t cycle;
	uint16_t count;
	uint16_t cyclecount;
	uint8_t mute;		/* 1表示静音 */	
}beep_t;


void app_beep_init(void);
void app_beep_start(uint16_t beeptime, uint16_t stoptime, uint16_t cycle);
void app_beep_stop(void);
void app_beep_pause(void);
void app_beep_mutereversal(void);
void app_beep_resume(void);
void app_beep_keytone(void);
void app_beep_powerontone(void);
void app_beep_successtone_1(void);
void app_beep_successtone_2(void);
void app_beep_errortone(void);
void app_beep_pro(void);
#ifdef __cplusplus
}
#endif
#endif /* __ZB32L03x_STARTERKIT_H */


